home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Developer Toolbox 6.1
/
SGI Developer Toolbox 6.1 - Disc 4.iso
/
src
/
exampleCode
/
smoke
/
Makefile
< prev
next >
Wrap
Makefile
|
1994-08-01
|
627b
|
36 lines
#!smake
include $(ROOT)/usr/include/make/commondefs
#DEBUG= -g3 -DDEBUG
DEBUG=
#TEXDEF = -DNOTEXTURE
# comment the below and uncomment the above, then remake, to see plain polygons
TEXDEF =
LCDEFS = $(DEBUG) $(TEXDEF)
LCOPTS = -O2
OBJECTS = ufctimes.o uLinMath.o pfsqrt.o getgfxtype.o \
uTex.o uSmoke.o smoke.o main.o
TARGETS = smoke
default all: $(TARGETS)
include $(COMMONRULES)
$(TARGETS): $(OBJECTS)
$(CCF) $(OBJECTS) -o smoke -lgutil -limage -lgl -lm
pfsqrt.o:
$(CCF) -c pfsqrt.s $(DEBUG) -O2
getgfxtype.o:
$(CCF) -c getgfxtype.c $(DEBUG) -DIRIX5
uTex.o:
$(CCF) -c uTex.c $(DEBUG) -DIRIX5